package com.drama.api.company.dramas.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
public class CompanyDramasAddVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "剧目名称")
    @NotNull(message="剧目名称不能为空！")
    private String dramaName;
    @ApiModelProperty(value = "剧目封面URL")
    @NotNull(message="剧目封面不能为空！")
    private String dramaImg;
    @ApiModelProperty(value = " 剧目数量（集数）")
    @NotNull(message="剧目集数不能为空！")
    private Integer dramaNum;
    @ApiModelProperty(value = "备案信息表URL")
    @NotNull(message="备案信息不能为空！")
    private String dramaFilingsUrl;
    @ApiModelProperty(value = "授权材料表URL")
    @NotNull(message="授权材料不能为空！")
    private String dramaEmpowerUrl;
    @ApiModelProperty(value = "视频集合（聚集文件选取）")
    @NotNull(message="视频选取不能为空！")
    private List<CompanyDramasVideoAddVO> videoList;

    @ApiModelProperty(value = "剧目出品方")
    private String dramaProducer;
    @ApiModelProperty(value = "剧目版权到期时间(yyyy-MM-dd)")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date dramaDateExpire;
  
}